#ifndef DATAAUDIO_H
#define DATAAUDIO_H

#include "adata.h"
#include "globals.h"

class EventAudio;

class DataAudio : public AData
{
public:
    DataAudio(EventAudio * parent);
    ~DataAudio();
    void generateTest(float freq = 1000., int duration = 100, int sampleRate = Gl::DFLT_SRATE);
protected:
    Gl::SampleEncoding * data;
    int len;
};

#endif // DATAAUDIO_H
